<table class="table table-bordered">
    <thead>
    <tr>
        <th width="5%">置换ID</th>
        <th width="8%">原车品牌</th>
        <th width="8%">原车所在地</th>
        <th width="8%">原车行驶里程</th>
        <th width="8%">置换新旧类型</th>
        <th width="8%">置换车辆类型</th>
        <th width="12%">置换品牌</th>
        <th width="6%">置换预算</th>
        <if condition="$params.status eq 1">
            <th width="7%">提交时间</th>
            <else/>
            <th width="7%">处理时间</th>
        </if>
        <th width="6%">渠道来源</th>
        <th width="4%">操作</th>
    </tr>
    </thead>
    <tbody>
    <volist name="list" id="row" key="k">
        <tr class="listBg">
            <td>{$row.chg_id}</td>
            <td>{$row.cur_car_series}</td>
            <td>{$row.cur_location}</td>
            <td>{$row.cur_mileage}</td>
            <td>{$row.chg_new_and_old_type}</td>
            <td>{$row.chg_car_type}</td>
            <td>{$row.chg_car_brand}</td>
            <td>{$row.chg_budget}</td>
            <if condition="$params.status eq 1">
                <td>{$row.create_time}</td>
                <else />
                <td>{$row.deal_time}</td>
            </if>

            <td>{$row.come_from}</td>
            <td>
                <if condition="$row.chg_status eq 1">
                    <a href="{:U('ChangeCar/changeCarDetail',['id'=>$row['chg_id']])}">处理</a>
                    <else/>
                    <a href="{:U('ChangeCar/changeCarInfo',['id'=>$row['chg_id']])}" target="_blank">查看</a>
                </if>

            </td>
        </tr>
    </volist>
    </tbody>
</table>
<div class="pageFaye">
    <div class="pager">{$page}</div>
    <div class="clear"></div>
</div>
